<template>
  <div class="ewq">
    <Head/>
    <Bac/>
    <Nav/>
    <List/>

    <div class="erj">
      <div class="erjzi">
         <router-link to="erjia">为你推荐</router-link>
         <router-link to="erjib">二手房</router-link>
         <router-link to="erjic">新房</router-link>
         <router-link to="erjid">租房</router-link>
         <router-link to="erjie">海外</router-link>
         <router-link to="erjif">商铺组货</router-link> 
      </div>
    </div>
    <router-view/>
  </div>
</template>

<script>
import Head from "@/components/head.vue";
import Nav from "@/components/nav.vue";
import List from "@/components/list.vue";
import Bac from "@/components/bac.vue";
export default {
  components: { Head,Nav,List,Bac},
}
</script>

<style>
body{
    background-color: #fbfbfb;
}
.ewq{
  margin-top: .5rem;;
}
.erj{
  width: 94%;
  height: .6rem;
  /* background: yellow; */
  margin: auto;
  overflow-x: auto;
}
.erj::-webkit-scrollbar{
  display: none;
}
.erjzi{
  width: 4.22rem;
  height: 100%;
  display: flex;
  justify-content:space-between;
  align-items: center;

}
.erjzi a{
  width: 70px;
  height: 100%;
  line-height: .8rem;
  text-align: center;
  font-size: .16rem;
  color: #999999;
  font-weight: 600;
  position: relative;

}
.erjzi a.router-link-exact-active:before{
  color: black;
  font-weight: 800;
  content: "";
  width: .28rem;
  height: .1rem;
  display: block;
  background: linear-gradient(to right, #135ef5, #aac3f5);
  position: absolute;
  border-radius: .1rem;
  left: .2rem;
  bottom: .02rem;
}
</style>
